\doxysection{distance\+\_\+functions.\+h}
\hypertarget{distance__functions_8h_source}{}\label{distance__functions_8h_source}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/ST/ARM/DSP/Include/dsp/distance\_functions.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/ST/ARM/DSP/Include/dsp/distance\_functions.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/******************************************************************************}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ @file\ \ \ \ \ distance\_functions.h}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ @brief\ \ \ \ Public\ header\ file\ for\ CMSIS\ DSP\ Library}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ @version\ \ V1.10.0}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ @date\ \ \ \ \ 08\ July\ 2021}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ Target\ Processor:\ Cortex-\/M\ and\ Cortex-\/A\ cores}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ ******************************************************************************/}}
\DoxyCodeLine{00008\ \textcolor{comment}{/*}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ Copyright\ (c)\ 2010-\/2020\ Arm\ Limited\ or\ its\ affiliates.\ All\ rights\ reserved.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ SPDX-\/License-\/Identifier:\ Apache-\/2.0}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ Licensed\ under\ the\ Apache\ License,\ Version\ 2.0\ (the\ License);\ you\ may}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ not\ use\ this\ file\ except\ in\ compliance\ with\ the\ License.}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ You\ may\ obtain\ a\ copy\ of\ the\ License\ at}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ www.apache.org/licenses/LICENSE-\/2.0}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ Unless\ required\ by\ applicable\ law\ or\ agreed\ to\ in\ writing,\ software}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ distributed\ under\ the\ License\ is\ distributed\ on\ an\ AS\ IS\ BASIS,\ WITHOUT}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ WARRANTIES\ OR\ CONDITIONS\ OF\ ANY\ KIND,\ either\ express\ or\ implied.}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ See\ the\ License\ for\ the\ specific\ language\ governing\ permissions\ and}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ limitations\ under\ the\ License.}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \ }
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#ifndef\ \_DISTANCE\_FUNCTIONS\_H\_}}
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#define\ \_DISTANCE\_FUNCTIONS\_H\_}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#include\ "{}arm\_math\_types.h"{}}}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#include\ "{}arm\_math\_memory.h"{}}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#include\ "{}dsp/none.h"{}}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#include\ "{}dsp/utils.h"{}}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#include\ "{}dsp/statistics\_functions.h"{}}}
\DoxyCodeLine{00037\ \textcolor{preprocessor}{\#include\ "{}dsp/basic\_math\_functions.h"{}}}
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\#include\ "{}dsp/fast\_math\_functions.h"{}}}
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#include\ "{}dsp/matrix\_functions.h"{}}}
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00041\ \textcolor{preprocessor}{\#ifdef\ \ \ \_\_cplusplus}}
\DoxyCodeLine{00042\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}}
\DoxyCodeLine{00043\ \{}
\DoxyCodeLine{00044\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00055\ \textcolor{comment}{/*\ 6.14\ bug\ */}}
\DoxyCodeLine{00056\ \textcolor{preprocessor}{\#if\ defined\ (\_\_ARMCC\_VERSION)\ \&\&\ (\_\_ARMCC\_VERSION\ >=\ 6100100)\ \&\&\ (\_\_ARMCC\_VERSION\ <\ 6150001)}}
\DoxyCodeLine{00057\ \ }
\DoxyCodeLine{00058\ \_\_attribute\_\_((weak))\ \textcolor{keywordtype}{float}\ \_\_powisf2(\textcolor{keywordtype}{float}\ a,\ \textcolor{keywordtype}{int}\ b);}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ \textcolor{preprocessor}{\#endif\ }}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00070\ }
\DoxyCodeLine{00071\ float32\_t\ arm\_euclidean\_distance\_f32(\textcolor{keyword}{const}\ float32\_t\ *pA,\textcolor{keyword}{const}\ float32\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00081\ }
\DoxyCodeLine{00082\ float64\_t\ arm\_euclidean\_distance\_f64(\textcolor{keyword}{const}\ float64\_t\ *pA,\textcolor{keyword}{const}\ float64\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00092\ float32\_t\ arm\_braycurtis\_distance\_f32(\textcolor{keyword}{const}\ float32\_t\ *pA,\textcolor{keyword}{const}\ float32\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00093\ }
\DoxyCodeLine{00107\ float32\_t\ arm\_canberra\_distance\_f32(\textcolor{keyword}{const}\ float32\_t\ *pA,\textcolor{keyword}{const}\ float32\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00108\ }
\DoxyCodeLine{00109\ }
\DoxyCodeLine{00118\ float32\_t\ arm\_chebyshev\_distance\_f32(\textcolor{keyword}{const}\ float32\_t\ *pA,\textcolor{keyword}{const}\ float32\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00119\ }
\DoxyCodeLine{00120\ }
\DoxyCodeLine{00129\ float64\_t\ arm\_chebyshev\_distance\_f64(\textcolor{keyword}{const}\ float64\_t\ *pA,\textcolor{keyword}{const}\ float64\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00130\ }
\DoxyCodeLine{00131\ }
\DoxyCodeLine{00140\ float32\_t\ arm\_cityblock\_distance\_f32(\textcolor{keyword}{const}\ float32\_t\ *pA,\textcolor{keyword}{const}\ float32\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00141\ }
\DoxyCodeLine{00150\ float64\_t\ arm\_cityblock\_distance\_f64(\textcolor{keyword}{const}\ float64\_t\ *pA,\textcolor{keyword}{const}\ float64\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00151\ }
\DoxyCodeLine{00163\ float32\_t\ arm\_correlation\_distance\_f32(float32\_t\ *pA,float32\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00164\ }
\DoxyCodeLine{00174\ }
\DoxyCodeLine{00175\ float32\_t\ arm\_cosine\_distance\_f32(\textcolor{keyword}{const}\ float32\_t\ *pA,\textcolor{keyword}{const}\ float32\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00176\ }
\DoxyCodeLine{00186\ }
\DoxyCodeLine{00187\ float64\_t\ arm\_cosine\_distance\_f64(\textcolor{keyword}{const}\ float64\_t\ *pA,\textcolor{keyword}{const}\ float64\_t\ *pB,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00188\ }
\DoxyCodeLine{00208\ }
\DoxyCodeLine{00209\ float32\_t\ arm\_jensenshannon\_distance\_f32(\textcolor{keyword}{const}\ float32\_t\ *pA,\textcolor{keyword}{const}\ float32\_t\ *pB,uint32\_t\ blockSize);}
\DoxyCodeLine{00210\ }
\DoxyCodeLine{00221\ }
\DoxyCodeLine{00222\ }
\DoxyCodeLine{00223\ }
\DoxyCodeLine{00224\ float32\_t\ arm\_minkowski\_distance\_f32(\textcolor{keyword}{const}\ float32\_t\ *pA,\textcolor{keyword}{const}\ float32\_t\ *pB,\ int32\_t\ order,\ uint32\_t\ blockSize);}
\DoxyCodeLine{00225\ }
\DoxyCodeLine{00236\ }
\DoxyCodeLine{00237\ }
\DoxyCodeLine{00238\ float32\_t\ arm\_dice\_distance(\textcolor{keyword}{const}\ uint32\_t\ *pA,\ \textcolor{keyword}{const}\ uint32\_t\ *pB,\ uint32\_t\ numberOfBools);}
\DoxyCodeLine{00239\ }
\DoxyCodeLine{00249\ }
\DoxyCodeLine{00250\ float32\_t\ arm\_hamming\_distance(\textcolor{keyword}{const}\ uint32\_t\ *pA,\ \textcolor{keyword}{const}\ uint32\_t\ *pB,\ uint32\_t\ numberOfBools);}
\DoxyCodeLine{00251\ }
\DoxyCodeLine{00261\ }
\DoxyCodeLine{00262\ float32\_t\ arm\_jaccard\_distance(\textcolor{keyword}{const}\ uint32\_t\ *pA,\ \textcolor{keyword}{const}\ uint32\_t\ *pB,\ uint32\_t\ numberOfBools);}
\DoxyCodeLine{00263\ }
\DoxyCodeLine{00273\ }
\DoxyCodeLine{00274\ float32\_t\ arm\_kulsinski\_distance(\textcolor{keyword}{const}\ uint32\_t\ *pA,\ \textcolor{keyword}{const}\ uint32\_t\ *pB,\ uint32\_t\ numberOfBools);}
\DoxyCodeLine{00275\ }
\DoxyCodeLine{00285\ }
\DoxyCodeLine{00286\ float32\_t\ arm\_rogerstanimoto\_distance(\textcolor{keyword}{const}\ uint32\_t\ *pA,\ \textcolor{keyword}{const}\ uint32\_t\ *pB,\ uint32\_t\ numberOfBools);}
\DoxyCodeLine{00287\ }
\DoxyCodeLine{00297\ }
\DoxyCodeLine{00298\ float32\_t\ arm\_russellrao\_distance(\textcolor{keyword}{const}\ uint32\_t\ *pA,\ \textcolor{keyword}{const}\ uint32\_t\ *pB,\ uint32\_t\ numberOfBools);}
\DoxyCodeLine{00299\ }
\DoxyCodeLine{00309\ }
\DoxyCodeLine{00310\ float32\_t\ arm\_sokalmichener\_distance(\textcolor{keyword}{const}\ uint32\_t\ *pA,\ \textcolor{keyword}{const}\ uint32\_t\ *pB,\ uint32\_t\ numberOfBools);}
\DoxyCodeLine{00311\ }
\DoxyCodeLine{00321\ }
\DoxyCodeLine{00322\ float32\_t\ arm\_sokalsneath\_distance(\textcolor{keyword}{const}\ uint32\_t\ *pA,\ \textcolor{keyword}{const}\ uint32\_t\ *pB,\ uint32\_t\ numberOfBools);}
\DoxyCodeLine{00323\ }
\DoxyCodeLine{00333\ }
\DoxyCodeLine{00334\ float32\_t\ arm\_yule\_distance(\textcolor{keyword}{const}\ uint32\_t\ *pA,\ \textcolor{keyword}{const}\ uint32\_t\ *pB,\ uint32\_t\ numberOfBools);}
\DoxyCodeLine{00335\ }
\DoxyCodeLine{00336\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{enum}}
\DoxyCodeLine{00337\ \ \ \{}
\DoxyCodeLine{00338\ \ \ \ \ ARM\_DTW\_SAKOE\_CHIBA\_WINDOW\ =\ 1,}
\DoxyCodeLine{00339\ \ \ \ \ \textcolor{comment}{/*ARM\_DTW\_ITAKURA\_WINDOW\ =\ 2,*/}}
\DoxyCodeLine{00340\ \ \ \ \ ARM\_DTW\_SLANTED\_BAND\_WINDOW\ =\ 3}
\DoxyCodeLine{00341\ \ \ \}\ arm\_dtw\_window;}
\DoxyCodeLine{00342\ }
\DoxyCodeLine{00351\ arm\_status\ arm\_dtw\_init\_window\_q7(\textcolor{keyword}{const}\ arm\_dtw\_window\ windowType,}
\DoxyCodeLine{00352\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ int32\_t\ windowSize,}
\DoxyCodeLine{00353\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structarm__matrix__instance__q7}{arm\_matrix\_instance\_q7}}\ *pWindow);}
\DoxyCodeLine{00354\ }
\DoxyCodeLine{00364\ }
\DoxyCodeLine{00365\ arm\_status\ arm\_dtw\_distance\_f32(\textcolor{keyword}{const}\ \mbox{\hyperlink{structarm__matrix__instance__f32}{arm\_matrix\_instance\_f32}}\ *pDistance,}
\DoxyCodeLine{00366\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{structarm__matrix__instance__q7}{arm\_matrix\_instance\_q7}}\ *pWindow,}
\DoxyCodeLine{00367\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structarm__matrix__instance__f32}{arm\_matrix\_instance\_f32}}\ *pDTW,}
\DoxyCodeLine{00368\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ float32\_t\ *distance);}
\DoxyCodeLine{00369\ }
\DoxyCodeLine{00370\ }
\DoxyCodeLine{00379\ }
\DoxyCodeLine{00380\ \textcolor{keywordtype}{void}\ arm\_dtw\_path\_f32(\textcolor{keyword}{const}\ \mbox{\hyperlink{structarm__matrix__instance__f32}{arm\_matrix\_instance\_f32}}\ *pDTW,}
\DoxyCodeLine{00381\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ int16\_t\ *pPath,}
\DoxyCodeLine{00382\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ uint32\_t\ *pathLength);}
\DoxyCodeLine{00383\ \textcolor{preprocessor}{\#ifdef\ \ \ \_\_cplusplus}}
\DoxyCodeLine{00384\ \}}
\DoxyCodeLine{00385\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00386\ }
\DoxyCodeLine{00387\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ ifndef\ \_DISTANCE\_FUNCTIONS\_H\_\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
